<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/css/bootstrap.css">
    <style>
        .container{
            max-width: 600px;
        }
    </style>
</head>
<body>
    <div class="container pt-5">
        <h1 class="mt-3 mb-3">添加图书</h1>
        <form action="/book/save" method="POST">
            <div class="form-group">
                <label>图书名称</label>
                <input type="text" name="name" placeholder="name" class="form-control">
            </div>
            <div class="form-group">
                <label>图书ISBN编号</label>
                <input type="text" name="isbn" placeholder="isbn" class="form-control">
            </div>
            <div class="form-group">
                <label>图书价格</label>
                <input type="number" name="price" placeholder="price" class="form-control">
            </div>
            <div class="form-group">
                <label>作者</label>
                <input type="text" name="author" placeholder="author" class="form-control">
            </div>
            <div class="form-group">
                <label>出版社</label>
                <input type="text" name="publisher" placeholder="publisher" class="form-control">
            </div>
            <div class="form-group">
                <label>图书分类</label>
                <input type="text" name="category" placeholder="category" class="form-control">
            </div>
            <div class="form-group">
                <input class="btn btn-primary" type="submit" value="保存图书">
                <a href="javascript:history.back();" class="btn btn-default">返回</a>
            </div>
        </form>
    </div>
</body>
</html>